<?php

/*
Used Properties:
DELIVER_COUNTRY_SELECT
COUNTRY_SELECT
*/

?>
<h3><?php $actionform->out('step2') ?></h3>
<form action="?" method="POST">
    <input type="hidden" name="action" value="billaddr"/>
    <?php $actionform->docId() ?>
    <strong><?php $actionform->out('ERROR_MSGS') ?></strong>
<table border="0" cellpadding="4" cellspacing="0" width="100%">
<?php if ($actionform->get('showPassword') && !$actionform->get('CUST_ID')): ?>
                <tr>
                    <td><?php $actionform->out('password') ?>:<input type="hidden" name="showPwd" value="1"/></td>
                    <td><input type="password" name="CUST_PWD" size="20" maxlength="20" value="<?php $actionform->out('CUST_PWD') ?>"></td>
                </tr>
                <tr>
                    <td><?php $actionform->out('validation') ?>:</td>
                    <td><input type="password" name="CUST_PWD_V" size="20" maxlength="20" value="<?php $actionform->out('CUST_PWD_V') ?>"></td>
                </tr>
<?php endif;?>
                                <tr>
                    <td colspan="2"><b><?php $actionform->out('bill_addr') ?>:</b></td>
                </tr>
                <tr>
                    <td><?php $actionform->out('company') ?>:*</td>
                    <td><input type="text" name="CUST_FIRMA" size="30" value="<?php $actionform->out('CUST_FIRMA') ?>"></td>
                </tr>
                <tr>
                    <td><?php $actionform->out('name') ?>:</td>
                    <td><input type="text" name="CUST_NAME" size="30" value="<?php $actionform->out('CUST_NAME') ?>"></td>
                </tr>
                <tr>
                    <td><?php $actionform->out('first_name') ?>:</td>
                    <td><input type="text" name="CUST_VORNAME" size="30" value="<?php $actionform->out('CUST_VORNAME') ?>"></td>
                </tr>
                <tr>
                    <td><?php $actionform->out('street') ?>:</td>
                    <td><input type="text" name="CUST_STRASSE" size="30" value="<?php $actionform->out('CUST_STRASSE') ?>"></td>
                </tr>
                <tr>
                    <td><?php $actionform->out('zip') ?>/<?php $actionform->out('city') ?>:</td>
                    <td><input type="text" name="CUST_PLZ" size="5" maxlength="5" value="<?php $actionform->out('CUST_PLZ') ?>"> <input type="text" name="CUST_ORT" size="24" value="<?php $actionform->out('CUST_ORT') ?>"></td>
                </tr>
                <tr>
                    <td><?php $actionform->out('country') ?>:</td>
                    <td><?php $actionform->out('COUNTRY_SELECT') ?></td>
                </tr>
                <tr>
                    <td><?php $actionform->out('email') ?>:</td>
                    <td><input type="text" name="CUST_EMAIL" size="30" value="<?php $actionform->out('CUST_EMAIL') ?>"></td>
                </tr>
                <tr>
                    <td><?php $actionform->out('phone') ?>:*</td>
                    <td><input type="text" name="CUST_TEL" size="30" value="<?php $actionform->out('CUST_TEL') ?>"></td>
                </tr>
                <tr>
                    <td><?php $actionform->out('fax') ?>:*</td>
                    <td><input type="text" name="CUST_FAX" size="30" value="<?php $actionform->out('CUST_FAX') ?>"></td>
                </tr>
                <tr>
                    <td><?php $actionform->out('newsletter') ?>:</td>
                    <td><input type="checkbox" name="CUST_NEWSLETTER" value="YES" <?php echo (!$actionform->get('CUST_ID') || $actionform->get('CUST_NEWSLETTER')=='YES')?'checked="checked"':'' ?>></td>
                </tr>
                <tr>
                    <td></td>
                    <td>*) <?php $actionform->out('not_nec') ?></td>
                </tr>
                <tr>
                    <td clospan="2"></td>
                </tr>
                <tr>
                    <td colspan="2"><b><?php $actionform->out('ship_addr') ?></b> (<?php $actionform->out('ship_addr_add') ?>)</td>
                </tr>
                <tr>
                    <td><?php $actionform->out('company') ?>:</td>
                    <td><input type="text" name="CUST_ORFIRMA" size="30" value="<?php $actionform->out('CUST_ORFIRMA') ?>"></td>
                </tr>
                <tr>
                    <td><?php $actionform->out('name') ?>:</td>
                    <td><input type="text" name="CUST_ORNAME" size="30" value="<?php $actionform->out('CUST_ORNAME') ?>"></td>
                </tr>
                <tr>
                    <td><?php $actionform->out('first_name') ?>:</td>
                    <td><input type="text" name="CUST_ORVORNAME" size="30" value="<?php $actionform->out('CUST_ORVORNAME') ?>"></td>
                </tr>
                <tr>
                    <td><?php $actionform->out('street') ?>:</td>
                    <td><input type="text" name="CUST_ORSTRASSE" size="30" value="<?php $actionform->out('CUST_ORSTRASSE') ?>"></td>
                </tr>
                <tr>
                    <td><?php $actionform->out('zip') ?>/<?php $actionform->out('city') ?></td>
                    <td><input type="text" name="CUST_ORPLZ" size="5" value="<?php $actionform->out('CUST_ORPLZ') ?>"> <input type="text" name="CUST_ORORT" size="24" value="<?php $actionform->out('CUST_ORORT') ?>"></td>
                </tr>
                <tr>
                    <td><?php $actionform->out('country') ?>:</td>
                    <td><?php $actionform->out('DELIVER_COUNTRY_SELECT') ?></td>
                </tr>
</table>
<input type="submit" value="<?php $actionform->out('next') ?> &gt;&gt;"/>
</form>